// account.entity.ts
import { Entity, Column, PrimaryGeneratedColumn } from 'typeorm';
@Entity('t_user_config')
export class Account {
  @PrimaryGeneratedColumn()
  id: number;
  @Column()
  user_id: string;
  @Column()
  email_account: string;
  @Column()
  receive_server_type: string;
  @Column()
  password: string;
  @Column()
  receive_server: string;
  @Column()
  ssl_for_receive_enabled: boolean;
  @Column()
  receive_server_port: number;
  @Column()
  smtp_server: string;
  @Column()
  ssl_for_smtp_enabled: boolean;
  @Column()
  smtp_server_port: number;
  @Column()
  remark: string;
}
